package com.WJY.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@Data
@AllArgsConstructor
@NoArgsConstructor
//@Component("dept")      //注册实体类
public class Dept {
    private int deptId;
    private String deptName;
}
